package com.cs.service.carousel;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cs.pojo.CarouselMap;
import com.cs.pojo.Goods;

import java.util.List;

public interface ICarouselService extends IService<CarouselMap> {

    IPage<CarouselMap> getPage(int currentPage, int pageSize);

    List<CarouselMap> getByTopic(String topic);

    IPage<CarouselMap> getPageByTopic(int currentPage, int pageSize,String topic);

    CarouselMap getInUsing();

    Boolean setUsingCarousel(Integer id);



}
